<?php
global $_GPC, $_W;
$orderid = $_GPC['orderid'];
$status = col('select status from  '.tb("recharge")." where id='{$orderid}' ");
if(!empty($status)) echo '1';
else echo '0';